package com.cmcc.linlaker.ui.mine.bean;

import java.io.Serializable;
import java.util.List;

public class UserBean implements Serializable {

    public String remark;//": "管理员",
    public String userId;//": 1,
    public String deptId;//": 103,
    public String parentId;//": null,
    public String roleId;//": null,
    public String loginName;//": "admin",
    public String userName;//": "管理员",
    public String email;//": "ry@163.com",
    public String phonenumber;//": "15888888888",
    public String sex;//": "1",
    public String avatar;//": "/profile/avatar/2019/09/11/13ad364ed0339e7b3ccecb527336d754.png",
    public String password;//": "29c67a30398638269fe600f73a054934",
    public String salt;//": "111111",
    public String status;//": "0",
    public String loginIp;//": "115.197.209.197",
    public String loginDate;//": "2019-09-17 11:31:30",
    public DepData dept;
    public List<RoleData> roles;
    public String roleIds;//":null,
    public String postIds;//":null,
    public String admin;//":true

    public class DepData implements Serializable {
        public String deptId;//":103,
        public String parentId;//":101,
        public String ancestors;//":null,
        public String deptName;//":"测试部门90",
        public String orderNum;//":"1",
        public String leader;//":"测试员2",
        public String phone;//":null,
        public String email;//":null,
        public String status;//":"0",
        public String parentName;//":null,
        public String isApproval;//":null
    }

    public class RoleData implements Serializable {
        public String roleId;//":1,
        public String roleName;//":"管理员",
        public String roleKey;//":"admin",
        public String roleSort;//":"1",
        public String dataScope;//":"1",
        public String status;//":"0",
        public String flag;//":false,
        public String menuIds;//":null,
        public String deptIds;//":null
    }
}
